load("//tools:defaults.bzl", "jasmine_test", "ts_config", "ts_project")

package(default_visibility = ["//visibility:private"])

ts_config(
    name = "tsconfig",
    src = "tsconfig.json",
    deps = [
        "//packages/core:tsconfig_test",
    ],
)

ts_project(
    name = "strict_types_lib",
    testonly = True,
    srcs = glob(
        ["**/*.ts"],
    ),
    tsconfig = ":tsconfig",
    deps = [
        "//packages/core",
    ],
)

jasmine_test(
    name = "strict_types",
    data = [
        ":strict_types_lib",
    ],
)
